package com.pth.test;

import com.opensymphony.xwork2.ActionSupport;

public class delayAction extends ActionSupport {


	@Override
	public String execute() throws Exception {

		System.out.println("start...");
		try {
			for (int i = 0; i < 5; i++) {
				Thread.sleep(1000);
				System.out.println(i);
			}
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		System.out.println("end...");
		return SUCCESS;
	
	}
	
}
